package com.peter.proxy.hkgolden.data;

import java.util.Date;

import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;

import com.peter.framework.data.CacheData;

@PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = "true")
public class Topic extends CacheData {
	@Persistent
	private String title;
	@Persistent
	private Date lastReplyDate;
	@Persistent
	private Short relies;
	@Persistent
	private Short rating;

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Date getLastReplyDate() {
		return lastReplyDate;
	}

	public void setLastReplyDate(Date lastReplyDate) {
		this.lastReplyDate = lastReplyDate;
	}

	public Short getRelies() {
		return relies;
	}

	public void setRelies(Short relies) {
		this.relies = relies;
	}

	public Short getRating() {
		return rating;
	}

	public void setRating(Short rating) {
		this.rating = rating;
	}
}
